package com.wgz.flag.enums;

public enum ContentType {
    TEXT(1, "文本"),
    IMAGE(2, "图片"),
    VOICE(3, "语音"),
    FILE(4, "文件");

    private final int value;
    private final String desc;

    ContentType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}